{% extends 'login.html' %}

{% block title %}
    <title>register</title>
{% endblock %}

{% block extcss %}
    {{ super() }}
    <link rel="stylesheet" href="../static/css/register.css">
{% endblock %}

{% block one %}
    <h2>职工工资管理系统-职工注册</h2>
{% endblock %}

{% block twe %}
    <form action="/register/" method="POST">
    <ul class="box4">
        <li><input type="text" class="user" name="username" value="{{ username }}" placeholder="用户名" required></li>
        <li><input type="password" class="pwd" name="password" value="{{ password }}" placeholder="密码" required></li>
        <li><input type="password" class="cfpwd" name="cfpassword" value="{{ cfpassword }}" placeholder="确认密码" required></li>
        <li><input type="email" class="email" name="email" value="{{ email }}" placeholder="邮箱" required><input type="submit" class="button2" name="submit1"  value="发送验证码"></li>
        <li style="margin-top: 10px;"><input type="text" class="code"  name="code" placeholder="验证码"></li>
        <li><input type="submit" class="register" name="submit2" value="注册"></li>
    </ul>
    </form>
{% endblock %}
